package com.yz.test.okhttp.util;

public class SleepUtil {

    public static void sleep2s(){
        sleep(2000);
    }

    public static void sleep4s(){
        sleep(4000);
    }

    public static void sleep1s(){
        sleep(1000);
    }

    public static void sleep(int i){
        try {
            Thread.sleep(i);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
